package com.ruoyi.system.basicInformation.mapper;

import com.ruoyi.system.basicInformation.bo.TServiceDeploymentEditBo;
import com.ruoyi.system.basicInformation.bo.TServiceDeploymentQueryBo;
import com.ruoyi.system.basicInformation.domain.TServiceDeployment;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.system.basicInformation.vo.TServiceDeploymentTwoVo;
import com.ruoyi.system.basicInformation.vo.TServiceDeploymentVo;

import java.util.List;

/**
 * 勤务部署基本信息Mapper接口
 *
 * @author ruoyi
 * @date 2021-05-20
 */
public interface TServiceDeploymentMapper extends BaseMapper<TServiceDeployment> {

    TServiceDeployment selectById(Long id);
    List<TServiceDeploymentVo> selectListForExt(TServiceDeploymentQueryBo bo);

    List<TServiceDeploymentTwoVo> selectListForExtTwo(TServiceDeploymentQueryBo bo);

    public TServiceDeployment selectUserByName(String name);

    Integer updateByEditBoExt(TServiceDeploymentEditBo bo);

}
